CREATE EXTERNAL TABLE IF NOT EXISTS spmi_ods.spmi_refund_tran_networkgroup(
id                                                 bigint                         COMMENT '主键ID',
fee_id                                             bigint                         COMMENT '退转件费报价ID',
networkgroup_id                                    bigint                         COMMENT '寄件网点分组ID',
networkgroup_name                                  bigint                         COMMENT '寄件网点分组名称'
)
COMMENT '退转件费报价-寄件网点分组关系表'
PARTITIONED BY (dt STRING COMMENT '更新/创建日期 (yyyy-MM-dd)')
STORED AS PARQUET
LOCATION '/dw/hive/spmi_ods.db/external/spmi_refund_tran_networkgroup'
TBLPROPERTIES (
  'parquet.column.index.access'='true'
);